<layout name='Layout/layout_page' />
	<ol class="breadcrumb">
		<li><a href="<{:U('Site/upfile')}>">系统设置</a></li>
      	<li class="active">上传设置</li>
    </ol>

	<form id="ajaxForm" action="<{:U('Site/insert')}>" method="post" class="form-horizontal form-validata">
		<div class="form-group">
			<label class="col-md-1 control-label" for="image_exts">图片上传类型</label>
			<div class="col-md-5">
				<input type="text"
				class="form-control"
				name="image_exts"
				id="image_exts"
				data-rule-required="true"
				value="<{:C('image_exts')}>"
				/>
				<p>多类型用,隔开</p>
			</div>
		</div>

		<div class="form-group">
			<label class="col-md-1 control-label" for="image_size">图片文件大小</label>
			<div class="col-md-5">
				<input type="text"
				class="form-control"
				name="image_size"
				id="image_size"
				data-rule-required="true"
				data-rule-number="true"
				value="<{:C('image_size')}>"
				/>
				<p>单位KB</p>
			</div>
		</div>

		<div class="form-group">
			<label class="col-md-1 control-label" for="file_exts">附件上传类型</label>
			<div class="col-md-5">
				<input type="text"
				class="form-control"
				name="file_exts"
				id="file_exts"
				data-rule-required="true"
				value="<{:C('file_exts')}>"
				/>
				<p>多类型用,隔开</p>
			</div>
		</div>

		<div class="form-group">
			<label class="col-md-1 control-label" for="file_size">附件大小</label>
			<div class="col-md-5">
				<input type="text"
				class="form-control"
				name="file_size"
				id="file_size"
				data-rule-required="true"
				data-rule-number="true"
				value="<{:C('file_size')}>"
				/>
				<p>单位KB</p>
			</div>
		</div>
	
		<div class="form-group">
			<div class="col-md-5 col-md-offset-1">
				<button type="submit" class="btn btn-info"><i class="icon-edit icon-white"></i> 保存上传设置</button>
			</div>
		</div>
		<input type="hidden" name="files" value="upfile.php" />
	</form>
</div>

<input type="hidden" id="menu_action" value="sys" />